package org.achao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.achao.pojo.MybatisPlusDemo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author achao
* @description 针对表【mybatis_plus_demo】的数据库操作Mapper
* @createDate 2023-09-23 16:29:10
* @Entity org.achao.pojo.MybatisPlusDemo
*/
@Mapper
public interface MybatisPlusDemoMapper extends BaseMapper<MybatisPlusDemo> {

    /**
     * 根据年龄查询并分页
     * @param page
     * @param key
     * @return Page<MybatisPlusDemo>
     */
    Page<MybatisPlusDemo> selectPageVo(@Param("page") Page<MybatisPlusDemo> page, @Param("family_key") String key);

}




